feat: add CI quality gates with Biome linting and coverage thresholds#34
Merged
jeff-atriumn merged 1 commit intomainfrom Feb 26, 2026
Merged
feat: add CI quality gates with Biome linting and coverage thresholds#34jeff-atriumn merged 1 commit intomainfrom
jeff-atriumn merged 1 commit intomainfrom
Conversation
- Add Biome linter (v2.4.4) with recommended rules scoped to src/ - Add lint and lint:fix npm scripts - Fix all Biome findings: unused imports/variables, non-null assertions, import sorting - Add coverage thresholds (85% statements, 80% branches, 80% functions, 85% lines) - Exclude src/index.ts from coverage (server entry, not unit-testable) - Add lint job to CI; build now depends on lint + typecheck + test - Document linting in CONTRIBUTING.md Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change Summary
Add Biome linting and coverage threshold enforcement as CI quality gates, giving contributors clear standards and proving out the release-please integration (first
feat:commit to trigger a release PR).src/**/*.tssrc/index.tsexcluded?? 0, import sortingRisk & Impact Assessment
Risk Level: low
!→?? 0)Test Plan
npm run lint— passes clean (0 errors, 0 warnings)npx tsc --noEmit— passes cleannpx vitest run --coverage— 92 tests pass, all thresholds metnpm run build— passes cleanManual Verification Steps
npm cinpm run lint— should pass with no findingsnpx vitest run --coverage— verify thresholds are enforced and all passnpm run lint— should failmain🤖 Generated with Claude Code